package org.csmzxy.class2333;

public class 数值拷贝 {
    public static void main(String[] args){
        int[] a = {10,20,30};
        int[] b = new int [a.length];
        for (int i = 0; i < a.length; i++){
            b[i] = a[i];
            b[1] = 40;
            System.out.println(a[i]);
        }
        for (int i = 0; i < a.length; i++){
            System.out.println(b[i]);
        }


    }

}
